package org.geekbang.projects.config.source;


import java.util.Map;

/**
* 操作系统环境变量  
* @author : lsq
*/
public class EnvironmentConfigSource extends AbstractConfigSource {

	public static final EnvironmentConfigSource INSTANCE = new EnvironmentConfigSource();

	public EnvironmentConfigSource() {
		super(300, "Environment properties");
	}


	@Override
	protected Map<String, String> getSource() throws Throwable {
		return System.getenv();
	}
}
